<!DOCTYPE html>
<html>
<head>
<meta name="layout" content="main">
<g:set var="entityName"
	value="${message(code: 'user.label', default: 'User')}" />
<title>登录</title>
</head>
<body>
	<div class="body">
		<h1>登录</h1>
		<g:if test="${flash.message}">
			<div class="message">
				${flash.message}
			</div>
		</g:if>
		<g:form action="authenticate" method="post">
			<div class="dialog">
				<table>
					<tbody>
						<tr class="prop">
							<td valign="top" class="name"><label for="name">姓名:</label>
							</td>
							<td valign="top"><input type="text" id="name" name="name" />
							</td>
						</tr>
						<tr class="prop">
							<td valign="top" class="name"><label for="password">密码:</label>
							</td>
							<td valign="top"><input type="password" id="password"
								name="password" /></td>
						</tr>
					</tbody>
				</table>
			</div>
			<div class="buttons">
				<span class="button"> <input type="submit" value="登录" />
				</span>
			</div>
		</g:form>
	</div>
</body>
</html>
